﻿using Basic.FlowRemoteModel;

namespace Basic.FlowModel.AuditCopyLog
{
    public class AuditCopyLogAdd
    {
        public long ItemId { get; set; }

        public long NodeId { get; set; }
        public long FromEmpId { get; set; }

        public long ToEmpId { get; set; }

        public FlowMsgType MsgType { get; set; }

        public override bool Equals(object? obj)
        {
            if (obj is AuditCopyLogAdd i)
            {
                return i.ToEmpId == this.ToEmpId;
            }
            return false;
        }
        public override int GetHashCode()
        {
            return this.ToEmpId.GetHashCode();
        }
    }
}
